package cn.line5.seam.filter;

import cn.line5.seam.cache.FilterCache;

/**
 * <h1>Remote过滤器</h1>
 * 
 * @author Liu,Xiaojun
 * @since JDK1.6
 */
public class RemoteFilter {
	public Boolean filter(FilterServletContext servletContext) throws Exception{
		return true;
	}

	public static RemoteFilter createRemoteFilter() throws Exception {
		Class<?> clazz = Class.forName(FilterCache.filterClass);
		return (RemoteFilter) clazz.newInstance();
	}
}